package com.team11.server.pojo.student;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * @author DuKang
 * @Date 2021/7/12 17:29
 * @Desc:
 * @Version: 1.0
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="老师批复对象", description="老师批复")
public class StudentTeacherReply implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "作业提交表id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "分数")
    @TableField("score")
    private Float score;

    @ApiModelProperty(value = "附件地址")
    @TableField("c_file")
    private String cFile;

    @ApiModelProperty(value = "附件名称")
    @TableField("c_f_name")
    private String cFName;

    @ApiModelProperty(value = "批复内容")
    @TableField("reply")
    private String reply;
}
